package com.scada.hessian.client.impl;

import com.scada.inf.ServiceInfoVisitor;
import com.scada.model.bean.ServiceInfo;
import com.scada.model.result.ResponseBean;
import com.scada.model.search.ServiceInfoSearch;
import com.scada.wechat.hessian.client.BaseClient;
import com.scada.wechat.hessian.client.annotation.HessianNamespace;

@HessianNamespace("serviceInfoVisitorService")
public class ServiceInfoVisitorClient extends BaseClient<ServiceInfoVisitor> implements ServiceInfoVisitor{

	@Override
	public void deleteServiceInfoById(String isShow, String ids) {
		
		getVistor().deleteServiceInfoById(isShow, ids);
	}

	@Override
	public ResponseBean insertServiceInfo(ServiceInfo serviceInfo) {
		
		return getVistor().insertServiceInfo(serviceInfo);
	}

	@Override
	public ResponseBean getServiceInfoById(Long id) {
		
		return getVistor().getServiceInfoById(id);
	}

	@Override
	public ResponseBean updateServiceInfo(ServiceInfo serviceInfo) {
		
		return getVistor().updateServiceInfo(serviceInfo);
	}

	@Override
	public ResponseBean getServiceInfoPageData(ServiceInfoSearch serviceInfoSearch) {
		
		return getVistor().getServiceInfoPageData(serviceInfoSearch);
	}

	@Override
	public ResponseBean repeatNameValidate(Long id, String serviceName, String serviceType) {
		
		return getVistor().repeatNameValidate(id, serviceName, serviceType);
	}

	@Override
	public ResponseBean getSelectService(String pageSize, String currentPage, String searchName, String serviceType) {
		
		return getVistor().getSelectService(pageSize, currentPage, searchName, serviceType);
	}

}
